#ifndef TIME_H
#define TIME_H

#include <SFML/System.hpp>

class Time {
    private:
        Time();

    public:
        void update();
        float now();
        float step();
        static Time* getInstance();

    private:
        sf::Clock clock;
        float currentTime;
        float deltaTime;

        static Time* instance;

};

#endif // TIME_H
